package com.foreknow.demo4;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.Reader;

public class Test {
    public void method(Reader reader){

    }


    public static void main(String[] args) {
        try {
            Reader fileReader = new FileReader("java");
            Test test =new Test();
            test.method(fileReader);

        }catch (Exception e){
            e.printStackTrace();
        }

    }
}
